home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
disk
/
misc
/
PMV.lha
/
PMV.readme
< prev
Wrap
Text File
|
1997-10-31
|
1KB
|
55 lines
Short: Pattern renaming for advanced usage
Uploader: kenny@bgnett.no <Kenneth "Kenny" Nilsen>
Author: kenny@bgnett.no <Kenneth "Kenny" Nilsen>
Type: disk/misc
Requires: AmigaOS 2+
Version: 1.0
mailto:kenny@bgnett.no
$VER: PatternMove 1.0 (31.10.97)
Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
All rights reserved.
This little program (dosscript) will allow you to do advanced renaming on
files.
Installation -
- copy PMV to s:
- protect s:pmv +s
USAGE -
Template: PMV PATTERN/A,TOFORMAT/A
Pattern - the file(s) you want to rename
ToFormat - how to format the new filename(s).
List of usefull format args (see complete list under LFORMAT for the LIST
command in the DOS manual):
%E - Uses just the file extension
%M - Uses the filename only, omitting any extension
%N - Uses the whole filename
%P - Uses the file parent path (includes a ":" or "/")
Examples:
---------
Rename all mod.<files> to <files>.mod
1> pmv mod.#? %E.mod
Rename all <files>.txt to just <files>
1> pmv *.txt %M
-- If you have set current dir (CD) to another dir then where the files are:
Rename mod.<files>.pp to mod.<files>
1> pmv ram:mod.#?.pp %P%M